package game.client;

import java.net.SocketException;
import java.net.UnknownHostException;
import java.util.logging.Level;
import java.util.logging.Logger;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author RERIR
 */
public class TicTacToe {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        
        TestGameClient client = null;
        if (args.length > 0) {
            try {
                client = new TestGameClient(args[0]);
            } catch (SocketException ex) {
                System.out.println(ex.getMessage());
                System.exit(1);
            } catch (UnknownHostException ex) {
                System.out.println(ex.getMessage());
                System.exit(2);
            }
            client.run(args[0]);
        }
    }
}
